//
//  CustomCoretextLabel.h
//  IfengNews
//
//  Created by ifeng on 13-4-15.
//
//

#import <UIKit/UIKit.h>

@interface CustomCoretextLabel : UILabel
{
  NSMutableAttributedString *resultAttributedString;
}
-(void)setText:(NSString *)text WithFont:(UIFont *)font AndColor:(UIColor *)color;
-(void)setTextdBold:(NSRange)textRang WithFont:(UIFont *)textFont AndColor:(UIColor *)textColor;
-(void)setText:(NSString *)text WithFont:(UIFont *)font AndColor:(UIColor *)color AndTextAlignment:(NSTextAlignment)textAlignment;
-(void)setText:(NSString *)text WithFont:(UIFont *)font AndColor:(UIColor *)color AndTextAlignment:(NSTextAlignment)textAlignment WithFirstlineindent:(float)firstlineindent linespace:(float)linesSpacing;
-(float)suggestFrameSize:(CGSize)maxSize;
@end
